package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_AccountCountForUserHistory", catalog="Id")
public class TcwAccountCountForUserHistory extends BaseEntity<TcwAccountCountForUserHistory> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Guid", nameJava="guid", typeDataBase="varchar")
	private String guid;
	@YsField(nameDataBase="UserId", nameJava="userId", typeDataBase="varchar")
	private String userId;
	@YsField(nameDataBase="UserName", nameJava="userName", typeDataBase="varchar")
	private String userName;
	@YsField(nameDataBase="DeptPath", nameJava="deptPath", typeDataBase="varchar")
	private String deptPath;
	@YsField(nameDataBase="DeptName", nameJava="deptName", typeDataBase="varchar")
	private String deptName;
	@YsField(nameDataBase="UserPosition", nameJava="userPosition", typeDataBase="varchar")
	private String userPosition;
	@YsField(nameDataBase="FJe", nameJava="fJe", typeDataBase="decimal")
	private BigDecimal fJe;
	@YsField(nameDataBase="Point", nameJava="point", typeDataBase="decimal")
	private BigDecimal point;
	@YsField(nameDataBase="PointTerm", nameJava="pointTerm", typeDataBase="decimal")
	private BigDecimal pointTerm;
	@YsField(nameDataBase="PointAll", nameJava="pointAll", typeDataBase="decimal")
	private BigDecimal pointAll;
	@YsField(nameDataBase="GDate", nameJava="gDate", typeDataBase="datetime")
	private Date gDate;
	@YsField(nameDataBase="BDeleted", nameJava="bDeleted", typeDataBase="bit")
	private Integer bDeleted;
	@YsField(nameDataBase="FFzEd", nameJava="fFzEd", typeDataBase="decimal")
	private BigDecimal fFzEd;
	@YsField(nameDataBase="FDjJe", nameJava="fDjJe", typeDataBase="decimal")
	private BigDecimal fDjJe;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwAccountCountForUserHistory setId(Long id) {
		this.id = id;
		return this;
	}
	public String getGuid() {
		return guid;
	}
	public TcwAccountCountForUserHistory setGuid(String guid) {
		this.guid = guid;
		return this;
	}
	public String getUserId() {
		return userId;
	}
	public TcwAccountCountForUserHistory setUserId(String userId) {
		this.userId = userId;
		return this;
	}
	public String getUserName() {
		return userName;
	}
	public TcwAccountCountForUserHistory setUserName(String userName) {
		this.userName = userName;
		return this;
	}
	public String getDeptPath() {
		return deptPath;
	}
	public TcwAccountCountForUserHistory setDeptPath(String deptPath) {
		this.deptPath = deptPath;
		return this;
	}
	public String getDeptName() {
		return deptName;
	}
	public TcwAccountCountForUserHistory setDeptName(String deptName) {
		this.deptName = deptName;
		return this;
	}
	public String getUserPosition() {
		return userPosition;
	}
	public TcwAccountCountForUserHistory setUserPosition(String userPosition) {
		this.userPosition = userPosition;
		return this;
	}
	public BigDecimal getFJe() {
		return fJe;
	}
	public TcwAccountCountForUserHistory setFJe(BigDecimal fJe) {
		this.fJe = fJe;
		return this;
	}
	public BigDecimal getPoint() {
		return point;
	}
	public TcwAccountCountForUserHistory setPoint(BigDecimal point) {
		this.point = point;
		return this;
	}
	public BigDecimal getPointTerm() {
		return pointTerm;
	}
	public TcwAccountCountForUserHistory setPointTerm(BigDecimal pointTerm) {
		this.pointTerm = pointTerm;
		return this;
	}
	public BigDecimal getPointAll() {
		return pointAll;
	}
	public TcwAccountCountForUserHistory setPointAll(BigDecimal pointAll) {
		this.pointAll = pointAll;
		return this;
	}
	public Date getGDate() {
		return gDate;
	}
	public TcwAccountCountForUserHistory setGDate(Date gDate) {
		this.gDate = gDate;
		return this;
	}
	public Integer getBDeleted() {
		return bDeleted;
	}
	public TcwAccountCountForUserHistory setBDeleted(Integer bDeleted) {
		this.bDeleted = bDeleted;
		return this;
	}
	public BigDecimal getFFzEd() {
		return fFzEd;
	}
	public TcwAccountCountForUserHistory setFFzEd(BigDecimal fFzEd) {
		this.fFzEd = fFzEd;
		return this;
	}
	public BigDecimal getFDjJe() {
		return fDjJe;
	}
	public TcwAccountCountForUserHistory setFDjJe(BigDecimal fDjJe) {
		this.fDjJe = fDjJe;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwAccountCountForUserHistory setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwAccountCountForUserHistory setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwAccountCountForUserHistory setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwAccountCountForUserHistory tcwAccountCountForUserHistory(
		String guid,
		String userId,
		String userName,
		String deptPath,
		String deptName,
		String userPosition,
		BigDecimal fJe,
		BigDecimal point,
		BigDecimal pointTerm,
		BigDecimal pointAll,
		Date gDate,
		Integer bDeleted,
		BigDecimal fFzEd,
		BigDecimal fDjJe,
		Integer status
			) {
		TcwAccountCountForUserHistory entity = new TcwAccountCountForUserHistory();
		entity.setGuid(guid);
		entity.setUserId(userId);
		entity.setUserName(userName);
		entity.setDeptPath(deptPath);
		entity.setDeptName(deptName);
		entity.setUserPosition(userPosition);
		entity.setFJe(fJe);
		entity.setPoint(point);
		entity.setPointTerm(pointTerm);
		entity.setPointAll(pointAll);
		entity.setGDate(gDate);
		entity.setBDeleted(bDeleted);
		entity.setFFzEd(fFzEd);
		entity.setFDjJe(fDjJe);
		entity.setStatus(status);
		return entity;
	}
}